package com.nuorui.module.system.domain.vo;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 用户视图
 *
 * @author: Fred
 * @email 453086@qq.com
 * @create: 2021-12-20 15:28
 */
@Data
public class UserVO {

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "登录名")
    private String loginName;

    @ApiModelProperty(value = "真实姓名")
    private String actualName;

    @ApiModelProperty(value = "头像")
    private String avatar;

    @ApiModelProperty(value = "性别")
    private Integer gender;

    @ApiModelProperty(value = "手机号码")
    private String phone;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "部门id")
    private Long departmentId;

    @ApiModelProperty(value = "部门名称")
    private String departmentName;

    @ApiModelProperty(value = "是否超管,0:否,1:是")
    private Boolean isAdministrator;

    @ApiModelProperty(value = "角色列表")
    private List<Long> roleIdList;

    @ApiModelProperty(value = "角色名称列表")
    private List<String> roleNameList;

    @ApiModelProperty(value = "是否禁用,0:正常,1:禁用")
    private Boolean isDisabled;

    @ApiModelProperty(value = "备注")
    private String remark;
}

